package com.jie.user;

import com.jie.common.util.LogUtil;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @author jie
 * @version 1.0 2025-02-06
 */
@EnableTransactionManagement
@SpringBootApplication
@EnableDiscoveryClient
@MapperScan("com.jie.user.mapper")
@EnableAspectJAutoProxy // 启动aop
public class UserApplication {
    public static void main(String[] args) {
        SpringApplication.run(UserApplication.class, args);
        LogUtil.serverStartLog("UserApplication");
    }
}
